package com.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
*  公告信息表的实体类
**/
@Data
public class Notice implements Serializable {

    private static final long serialVersionUID = 1L;

    //ID
    private Integer id;
    //标题
    private String title;
    //内容
    private String content;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
    //创建人
    private String user;

}